home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / ghostscript / src / devs.mak < prev    next >
Text File  |  1994-08-01  |  28KB  |  814 lines

  1. #    Copyright (C) 1989, 1992, 1993 Aladdin Enterprises.  All rights reserved.
  2. #
  3. # This file is part of Ghostscript.
  4. #
  5. # Ghostscript is distributed in the hope that it will be useful, but
  6. # WITHOUT ANY WARRANTY.  No author or distributor accepts responsibility
  7. # to anyone for the consequences of using it or for whether it serves any
  8. # particular purpose or works at all, unless he says so in writing.  Refer
  9. # to the Ghostscript General Public License for full details.
  10. #
  11. # Everyone is granted permission to copy, modify and redistribute
  12. # Ghostscript, but only under the conditions described in the Ghostscript
  13. # General Public License.  A copy of this license is supposed to have been
  14. # given to you along with Ghostscript so you can know your rights and
  15. # responsibilities.  It should be in a file named COPYING.  Among other
  16. # things, the copyright notice and this notice must be preserved on all
  17. # copies.
  18.  
  19. # makefile for Ghostscript device drivers.
  20.  
  21. # -------------------------------- Catalog ------------------------------- #
  22.  
  23. # It is possible to build Ghostscript with an arbitrary collection of
  24. # device drivers, although some drivers are supported only on a subset
  25. # of the target platforms.  The currently available drivers are:
  26.  
  27. # Displays:
  28. #   MS-DOS EGA and VGA:
  29. #    ega    EGA (640x350, 16-color)
  30. #    vga    VGA (640x480, 16-color)
  31. #   MS-DOS SuperVGA:
  32. # +    atiw    ATI Wonder SuperVGA, 256-color modes
  33. # +     atiw16  ATI Wonder SuperVGA in 800x600, 16-color mode
  34. #    s3vga    SuperVGA with S3 86C911 chip (e.g., Diamond Stealth board)
  35. #    tseng    SuperVGA using Tseng Labs ET3000/4000 chips, 256-color modes
  36. #    tseng16  Tseng Labs SuperVGA in 800x600, 16-color mode (256K memory)
  37. # +    tvga    Trident SuperVGA, 256-color modes
  38. # +    tvga16    Trident SuperVGA in 800x600, 16-color mode (256K memory)
  39. #   ****** NOTE: The vesa device does not work with the Watcom (32-bit MS-DOS)
  40. #   ****** compiler or executable.
  41. #    vesa    SuperVGA with VESA standard API driver
  42. #   MS-DOS other:
  43. #    bgi    Borland Graphics Interface (CGA)  [MS-DOS only]
  44. # *    herc    Hercules Graphics display   [MS-DOS only]
  45. #    mswin    Microsoft Windows 3.0, 3.1  [MS Windows only]
  46. #    mswinprn  Microsoft Windows 3.0, 3.1 printer  [MS Windows only]
  47. # *    pe    Private Eye display
  48. #   Unix and VMS:
  49. #   ****** NOTE: For direct frame buffer addressing under SCO Unix or Xenix,
  50. #   ****** edit the definition of EGAVGA below.
  51. # *    att3b1    AT&T 3b1/Unixpc monochrome display   [3b1 only]
  52. # *    sonyfb    Sony Microsystems monochrome display   [Sony only]
  53. # *    sunview  SunView window system   [SunOS only]
  54. #    x11    X Windows version 11, release >=3   [Unix and VMS only]
  55. # Printers:
  56. # *    appledmp  Apple Dot Matrix Printer (should also work with Imagewriter)
  57. #    bj10e    Canon BubbleJet BJ10e
  58. # *    bj200    Canon BubbleJet BJ200
  59. # *    cdeskjet  H-P DeskJet 500C with 1 bit/pixel color
  60. # *    cdjcolor  H-P DeskJet 500C with 24 bit/pixel color and
  61. #        high-quality color (Floyd-Steinberg) dithering
  62. # *    cdjmono  H-P DeskJet 500C printing black only
  63. # *    cdj500    H-P DeskJet 500C (same as cdjcolor)
  64. # *    cdj550    H-P DeskJet 550C
  65. # *    declj250  alternate DEC LJ250 driver
  66. # +    deskjet  H-P DeskJet and DeskJet Plus
  67. # *    dfaxhigh  DigiBoard, Inc.'s DigiFAX software format (high resolution)
  68. # *    dfaxlow  DigiFAX low (normal) resolution
  69. #    djet500  H-P DeskJet 500
  70. # *    djet500c  H-P DeskJet 500C
  71. #    epson    Epson-compatible dot matrix printers (9- or 24-pin)
  72. # +    eps9high  Epson-compatible 9-pin, interleaved lines
  73. #        (triple resolution)
  74. # *    epsonc    Epson LQ-2550 and Fujitsu 3400/2400/1200 color printers
  75. # *    escp2    Epson ESC/P 2 language printers, including Stylus 800
  76. # +     ibmpro  IBM 9-pin Proprinter
  77. # *    jetp3852  IBM Jetprinter ink-jet color printer (Model #3852)
  78. # +    laserjet  H-P LaserJet
  79. # *    la50    DEC LA50 printer
  80. # *    la75    DEC LA75 printer
  81. # *    lbp8    Canon LBP-8II laser printer
  82. # *    ln03    DEC LN03 printer
  83. # *    lj250    DEC LJ250 Companion color printer
  84. # +    ljet2p    H-P LaserJet IId/IIp/III* with TIFF compression
  85. # +    ljet3    H-P LaserJet III* with Delta Row compression
  86. # +    ljetplus  H-P LaserJet Plus
  87. # *    m8510    C.Itoh M8510 printer
  88. # *    necp6    NEC P6/P6+/P60 printers at 360 x 360 DPI resolution
  89. # *    nwp533  Sony Microsystems NWP533 laser printer   [Sony only]
  90. # *    oki182    Okidata MicroLine 182
  91. #    paintjet  H-P PaintJet color printer
  92. # *    pj    alternate PaintJet XL driver 
  93. # *    pjxl    H-P PaintJet XL color printer
  94. # *    pjxl300  H-P PaintJet XL300 color printer
  95. # *    r4081    Ricoh 4081 laser printer
  96. # *    sparc    SPARCprinter
  97. # *    t4693d2  Tektronix 4693d color printer, 2 bits per R/G/B component
  98. # *    t4693d4  Tektronix 4693d color printer, 4 bits per R/G/B component
  99. # *    t4693d8  Tektronix 4693d color printer, 8 bits per R/G/B component
  100. # *    tek4696  Tektronix 4695/4696 inkjet plotter
  101. # *    trufax    TruFax facsimile driver  [Unix only]
  102. # File formats and others:
  103. #    bit    A plain "bit bucket" device
  104. #    bmpmono    Monochrome MS Windows .BMP file format
  105. #    bmp16    4-bit (EGA/VGA) .BMP file format
  106. #    bmp256    8-bit (256-color) .BMP file format
  107. #    bmp16m    24-bit .BMP file format
  108. #    gifmono    Monochrome GIF file format
  109. #    gif8    8-bit color GIF file format
  110. #    pcxmono    Monochrome PCX file format
  111. #    pcx16    Older color PCX file format (EGA/VGA, 16-color)
  112. #    pcx256    Newer color PCX file format (256-color)
  113. #    pbm    Portable Bitmap (plain format)
  114. #    pbmraw    Portable Bitmap (raw format)
  115. #    pgm    Portable Graymap (plain format)
  116. #    pgmraw    Portable Graymap (raw format)
  117. #    ppm    Portable Pixmap (plain format)
  118. #    ppmraw    Portable Pixmap (raw format)
  119. # *    tiffg3    TIFF/F (G3 fax)
  120.  
  121. # User-contributed drivers marked with * require hardware or software
  122. # that is not available to Aladdin Enterprises.  Please contact the
  123. # original contributors, not Aladdin Enterprises, if you have questions.
  124. # Contact information appears in the driver entry below.
  125. #
  126. # Drivers marked with a + are maintained by Aladdin Enterprises with
  127. # the assistance of users, since Aladdin Enterprises doesn't have access to
  128. # the hardware for these either.
  129.  
  130. # If you add drivers, it would be nice if you kept each list
  131. # in alphabetical order.
  132.  
  133. # Each platform-specific makefile contains a line of the form
  134. #    DEVICE_DEVS=<dev1>.dev ... <devn>.dev
  135. # where dev1 ... devn are the devices to be included in the build.
  136. # You may edit this line to select any desired set of devices.
  137. # dev1 will be used as the default device (unless overridden from
  138. # the command line with -sDEVICE=xxx, of course.)  If you can't fit all the
  139. # devices on a single line, you may add lines defining
  140. #    DEVICE_DEVS2=<dev21>.dev ... <dev2n>.dev
  141. #    DEVICE_DEVS3=<dev31>.dev ... <dev3n>.dev
  142. # etc. up to DEVICE_DEVS9.
  143. # Don't use continuation lines, since this may break the MS-DOS command
  144. # processor.
  145.  
  146. # ---------------------------- End of catalog ---------------------------- #
  147.  
  148. # If you want to add a new device driver, the examples below should be
  149. # enough of a guide to the correct form for the makefile rules.
  150.  
  151. # All device drivers depend on the following:
  152. GDEV=$(AK) echogs$(XE) $(gserrors_h) $(gx_h) $(gxdevice_h)
  153.  
  154. # Define the header files for device drivers.  Every header file used by
  155. # more than one device driver must be listed here.
  156. gdevpccm_h=gdevpccm.h
  157. gdevpcfb_h=gdevpcfb.h $(dos__h)
  158. gdevpcl_h=gdevpcl.h
  159. gdevsvga_h=gdevsvga.h
  160. gdevx_h=gdevx.h
  161.  
  162. ###### ------------------- MS-DOS display devices ------------------- ######
  163.  
  164. # There are really only three drivers: an EGA/VGA driver (4 bit-planes,
  165. # plane-addressed), a SuperVGA driver (8 bit-planes, byte addressed),
  166. # and a special driver for the S3 chip.
  167. # To make A4 paper the default, change the compilation line from
  168. #    $(CCD) ...
  169. # to
  170. #    $(CCD) -DA4
  171.  
  172. ### ----------------------- EGA and VGA displays ----------------------- ###
  173.  
  174. gdevegaa.$(OBJ): gdevegaa.asm
  175.  
  176. ETEST=ega.$(OBJ) $(ega_) gdevpcfb.$(OBJ) gdevegaa.$(OBJ)
  177. ega.exe: $(ETEST) libc$(MM).tr
  178.     $(COMPDIR)\tlink $(LCT) $(LO) $(LIBDIR)\c0$(MM) @ega.tr @libc$(MM).tr
  179.  
  180. ega.$(OBJ): ega.c $(GDEV)
  181.     $(CCC) -v ega.c
  182.  
  183. # The shared MS-DOS makefile defines PCFBASM as either gdevegaa.$(OBJ)
  184. # or an empty string.
  185.  
  186. # NOTE: for direct frame buffer addressing under SCO Unix or Xenix,
  187. # change gdevevga to gdevsco in the following line.
  188. EGAVGA=gdevevga.$(OBJ) gdevpcfb.$(OBJ) $(PCFBASM)
  189.  
  190. gdevevga.$(OBJ): gdevevga.c $(GDEV) $(gdevpcfb_h)
  191.     $(CCD) gdevevga.c
  192.  
  193. gdevsco.$(OBJ): gdevsco.c $(GDEV) $(gdevpcfb_h)
  194.     $(CCD) gdevsco.c
  195.  
  196. # Common code for MS-DOS and SCO.
  197. gdevpcfb.$(OBJ): gdevpcfb.c $(GDEV) $(MAKEFILE) $(gdevpcfb_h)
  198.     $(CCD) -DUSE_ASM=0$(USE_ASM) gdevpcfb.c
  199.  
  200. # The EGA/VGA family includes: EGA, VGA, and
  201. # the ATI Wonder, Tseng ET3000/4000, and Trident SuperVGA in 16-color mode.
  202.  
  203. ega.dev: $(EGAVGA)
  204.     $(SHP)gssetdev ega $(EGAVGA)
  205.  
  206. vga.dev: $(EGAVGA)
  207.     $(SHP)gssetdev vga $(EGAVGA)
  208.  
  209. atiw16.dev: $(EGAVGA)
  210.     $(SHP)gssetdev atiw16 $(EGAVGA)
  211.  
  212. tseng16.dev: $(EGAVGA)
  213.     $(SHP)gssetdev tseng16 $(EGAVGA)
  214.  
  215. tvga16.dev: $(EGAVGA)
  216.     $(SHP)gssetdev tvga16 $(EGAVGA)
  217.  
  218. ### ------------------------- SuperVGA displays ------------------------ ###
  219.  
  220. SVGA=gdevsvga.$(OBJ) $(PCFBASM)
  221.  
  222. gdevsvga.$(OBJ): gdevsvga.c $(GDEV) $(MAKEFILE) \
  223.   $(gdevpcfb_h) $(gdevsvga_h)
  224.     $(CCD) -DUSE_ASM=0$(USE_ASM) gdevsvga.c
  225.  
  226. # The SuperVGA family includes: ATI Wonder, S3, Trident, Tseng ET3000/4000,
  227. # and VESA.
  228.  
  229. atiw.dev: $(SVGA)
  230.     $(SHP)gssetdev atiw $(SVGA)
  231.  
  232. tseng.dev: $(SVGA)
  233.     $(SHP)gssetdev tseng $(SVGA)
  234.  
  235. tvga.dev: $(SVGA)
  236.     $(SHP)gssetdev tvga $(SVGA)
  237.  
  238. vesa.dev: $(SVGA)
  239.     $(SHP)gssetdev vesa $(SVGA)
  240.  
  241. # The S3 driver doesn't share much code with the others.
  242.  
  243. s3vga_=$(SVGA) gdevs3ga.$(OBJ)
  244. s3vga.dev: $(s3vga_)
  245.     $(SHP)gssetdev s3vga $(s3vga_)
  246.  
  247. gdevs3ga.$(OBJ): gdevs3ga.c $(GDEV) $(MAKEFILE) $(gdevpcfb_h) $(gdevsvga_h)
  248.     $(CCD) gdevs3ga.c
  249.  
  250. ### ------------ The BGI (Borland Graphics Interface) device ----------- ###
  251.  
  252. cgaf.$(OBJ): $(BGIDIR)\cga.bgi
  253.     $(BGIDIR)\bgiobj /F $(BGIDIR)\cga
  254.  
  255. egavgaf.$(OBJ): $(BGIDIR)\egavga.bgi
  256.     $(BGIDIR)\bgiobj /F $(BGIDIR)\egavga
  257.  
  258. # Include egavgaf.$(OBJ) for debugging only.
  259. bgi_=gdevbgi.$(OBJ) cgaf.$(OBJ)
  260. bgi.dev: $(bgi_)
  261.     $(SHP)gssetdev bgi $(bgi_)
  262.     $(SHP)gsaddmod bgi -lib $(LIBDIR)\graphics
  263.  
  264. gdevbgi.$(OBJ): gdevbgi.c $(GDEV) $(MAKEFILE) $(gxxfont_h)
  265.     $(CCC) -DBGI_LIB=$(QQ)$(BGIDIRSTR)$(QQ) gdevbgi.c
  266.  
  267. ### ------------------- The Hercules Graphics display ------------------- ###
  268.  
  269. herc_=gdevherc.$(OBJ)
  270. herc.dev: $(herc_)
  271.     $(SHP)gssetdev herc $(herc_)
  272.  
  273. gdevherc.$(OBJ): gdevherc.c $(GDEV)
  274.     $(CCC) gdevherc.c
  275.  
  276. ###### ------------------- The Private Eye display ------------------- ######
  277. ### Note: this driver was contributed by a user:                          ###
  278. ###   please contact narf@media-lab.media.mit.edu if you have questions.  ###
  279.  
  280. pe_=gdevpe.$(OBJ)
  281. pe.dev: $(pe_)
  282.     $(SHP)gssetdev pe $(pe_)
  283.  
  284. gdevpe.$(OBJ): gdevpe.c $(GDEV)
  285.  
  286. ###### ----------------- The MS-Windows 3.n display ------------------ ######
  287.  
  288. gdevmswn_h=gdevmswn.h $(GDEV) gp_mswin.h
  289.  
  290. # Choose one of gdevwddb or gdevwdib here.
  291. mswin_=gdevmswn.$(OBJ) gdevmsxf.$(OBJ) gdevwdib.$(OBJ) \
  292.   gdevemap.$(OBJ) gdevpccm.$(OBJ)
  293. mswin.dev: $(mswin_)
  294.     $(SHP)gssetdev mswin $(mswin_)
  295.  
  296. gdevmswn.$(OBJ): gdevmswn.c $(gdevmswn_h) $(gp_h) $(gpcheck_h) \
  297.   $(gsprops_h) $(gdevpccm_h)
  298.  
  299. gdevmsxf.$(OBJ): gdevmsxf.c $(ctype__h) $(math__h) $(memory__h) \
  300.   $(gdevmswn_h) $(gsutil_h) $(gxxfont_h)
  301.  
  302. # An implementation using a device-dependent bitmap.
  303. gdevwddb.$(OBJ): gdevwddb.c $(gdevmswn_h)
  304.  
  305. # An implementation using a DIB filled by an image device.
  306. gdevwdib.$(OBJ): gdevwdib.c $(dos__h) $(gdevmswn_h)
  307.  
  308. ###### ----------------- The MS-Windows 3.n printer ------------------ ######
  309.  
  310. mswinprn_=gdevwprn.$(OBJ) gdevmsxf.$(OBJ)
  311. mswinprn.dev: $(mswinprn_)
  312.     $(SHP)gssetdev mswinprn $(mswinprn_)
  313.  
  314. gdevwprn.$(OBJ): gdevwprn.c $(gdevmswn_h) $(gp_h) $(gpcheck_h) \
  315.   $(gsprops_h) $(gdevpccm_h)
  316.  
  317. ###### ----------- The AT&T 3b1 Unixpc monochrome display ------------ ######
  318. ### Note: this driver was contributed by a user: please contact           ###
  319. ###       Andy Fyfe (andy@cs.caltech.edu) if you have questions.          ###
  320.  
  321. att3b1_=gdev3b1.$(OBJ)
  322. att3b1.dev: $(att3b1_)
  323.     $(SHP)gssetdev att3b1 $(att3b1_)
  324.  
  325. gdev3b1.$(OBJ): gdev3b1.c
  326.  
  327. ###### --------------- Memory-buffered printer devices --------------- ######
  328.  
  329. # The dependency list for printers includes devs.mak because
  330. # you can specify -DA4 to make A4 paper the default.
  331. # See below under, e.g., gdevdjet.c.
  332. PDEVH=$(GDEV) $(gdevprn_h) devs.mak
  333.  
  334. gdevprn.$(OBJ): gdevprn.c $(PDEVH) $(gp_h) $(gsprops_h)
  335.  
  336. ### ------------------- The Apple DMP printer device ------------------- ###
  337.  
  338. appledmp_=gdevadmp.$(OBJ) gdevprn.$(OBJ)
  339.  
  340. appledmp.dev: $(appledmp_)
  341.     $(SHP)gssetdev appledmp $(appledmp_)
  342.  
  343. ### ------------ The Canon BubbleJet BJ10e and BJ200 devices ------------ ###
  344.  
  345. bj10e_=gdevbj10.$(OBJ) gdevprn.$(OBJ)
  346.  
  347. bj10e.dev: $(bj10e_)
  348.     $(SHP)gssetdev bj10e $(bj10e_)
  349.  
  350. bj200.dev: $(bj10e_)
  351.     $(SHP)gssetdev bj200 $(bj10e_)
  352.  
  353. gdevbj10.$(OBJ): gdevbj10.c $(PDEVH)
  354.  
  355. ### -------------------------- The DigiFAX device ----------------------- ###
  356. ###    This driver outputs images in a format suitable for use with       ###
  357. ###    DigiBoard, Inc.'s DigiFAX software.  Use -sDEVICE=dfaxhigh for     ###
  358. ###    high resolution output, -sDEVICE=dfaxlow for normal output.        ###
  359. ### Note: this driver was contributed by a user: please contact           ###
  360. ###       Rick Richardson (rick@digibd.com) if you have questions.        ###
  361.  
  362. digifax_=gdevdfax.$(OBJ) gdevprn.$(OBJ)
  363. dfaxhigh.dev: $(digifax_)
  364.     $(SHP)gssetdev dfaxhigh $(digifax_)
  365.  
  366. dfaxlow.dev: $(digifax_)
  367.     $(SHP)gssetdev dfaxlow $(digifax_)
  368.  
  369. gdevdfax.$(OBJ): gdevdfax.c $(GDEV) $(gdevprn_h) gdevdfg3.h
  370.  
  371. ### ----------- The H-P DeskJet and LaserJet printer devices ----------- ###
  372.  
  373. ### These are essentially the same device.
  374. ### You can make A4 paper the default: see below.
  375. ### NOTE: printing at full resolution (300 DPI) requires a printer
  376. ###   with at least 1.5 Mb of memory.  150 DPI only requires .5 Mb.
  377.  
  378. HPPCL=gdevprn.$(OBJ) gdevpcl.$(OBJ)
  379. HPMONO=gdevdjet.$(OBJ) $(HPPCL)
  380.  
  381. gdevpcl.$(OBJ): gdevpcl.c $(PDEVH) $(gdevpcl_h)
  382.  
  383. # To make A4 paper the default, change the second line below this to
  384. #    $(CCC) -DA4 gdevdjet.c
  385. gdevdjet.$(OBJ): gdevdjet.c $(PDEVH) $(gdevpcl_h)
  386.     $(CCC) gdevdjet.c
  387.  
  388. deskjet.dev: $(HPMONO)
  389.     $(SHP)gssetdev deskjet $(HPMONO)
  390.  
  391. djet500.dev: $(HPMONO)
  392.     $(SHP)gssetdev djet500 $(HPMONO)
  393.  
  394. laserjet.dev: $(HPMONO)
  395.     $(SHP)gssetdev laserjet $(HPMONO)
  396.  
  397. ljetplus.dev: $(HPMONO)
  398.     $(SHP)gssetdev ljetplus $(HPMONO)
  399.  
  400. ### Selecting ljet2p provides TIFF (mode 2) compression on LaserJet III,
  401. ### IIIp, IIId, IIIsi, IId, and IIp. 
  402.  
  403. ljet2p.dev: $(HPMONO)
  404.     $(SHP)gssetdev ljet2p $(HPMONO)
  405.  
  406. ### Selecting ljet3 provides Delta Row (mode 3) compression on LaserJet III,
  407. ### IIIp, IIId, IIIsi.
  408.  
  409. ljet3.dev: $(HPMONO)
  410.     $(SHP)gssetdev ljet3 $(HPMONO)
  411.  
  412. ###- The H-P DeskJet 500C/550C and PaintJet family color printer devices -###
  413. ### Note: there are two different 500C drivers, both contributed by users.###
  414. ###   If you have questions about the djet500c driver,                    ###
  415. ###       please contact AKayser@et.tudelft.nl.                           ###
  416. ###   If you have questions about the cdj* drivers,                       ###
  417. ###       please contact g.cameron@biomed.abdn.ac.uk.                     ###
  418.  
  419. cdeskjet_=gdevcdj.$(OBJ) $(HPPCL)
  420.  
  421. cdeskjet.dev: $(cdeskjet_)
  422.     $(SHP)gssetdev cdeskjet $(cdeskjet_)
  423.  
  424. cdjcolor.dev: $(cdeskjet_)
  425.     $(SHP)gssetdev cdjcolor $(cdeskjet_)
  426.  
  427. cdjmono.dev: $(cdeskjet_)
  428.     $(SHP)gssetdev cdjmono $(cdeskjet_)
  429.  
  430. cdj500.dev: $(cdeskjet_)
  431.     $(SHP)gssetdev cdj500 $(cdeskjet_)
  432.  
  433. cdj550.dev: $(cdeskjet_)
  434.     $(SHP)gssetdev cdj550 $(cdeskjet_)
  435.  
  436. declj250.dev: $(cdeskjet_)
  437.     $(SHP)gssetdev declj250 $(cdeskjet_)
  438.  
  439. pj.dev: $(cdeskjet_)
  440.     $(SHP)gssetdev pj $(cdeskjet_)
  441.  
  442. pjxl.dev: $(cdeskjet_)
  443.     $(SHP)gssetdev pjxl $(cdeskjet_)
  444.  
  445. pjxl300.dev: $(cdeskjet_)
  446.     $(SHP)gssetdev pjxl300 $(cdeskjet_)
  447.  
  448. # NB: you can also customise the build if required, using -DA4 (for A4 paper)
  449. # and -DBitsPerPixel=<number> if you wish the default to be other than 24
  450. # for the generic drivers (cdj500, cdj550, pjxl300, pjtest, pjxltest).
  451. # E.g,. to make A4 paper the default, change the second line below this to
  452. #    $(CCC) -DA4 gdevdjet.c
  453. gdevcdj.$(OBJ): gdevcdj.c $(PDEVH) $(gdevpcl_h)
  454.     $(CCC) gdevcdj.c
  455.  
  456. djet500c_=gdevdjtc.$(OBJ) $(HPPCL)
  457. djet500c.dev: $(djet500c_)
  458.     $(SHP)gssetdev djet500c $(djet500c_)
  459.  
  460. gdevdjtc.$(OBJ): gdevdjtc.c $(PDEVH) $(gdevpcl_h)
  461.  
  462. ### ----------------- The generic Epson printer device ----------------- ###
  463.  
  464. epson_=gdevepsn.$(OBJ) gdevprn.$(OBJ)
  465.  
  466. epson.dev: $(epson_)
  467.     $(SHP)gssetdev epson $(epson_)
  468.  
  469. eps9high.dev: $(epson_)
  470.     $(SHP)gssetdev eps9high $(epson_)
  471.  
  472. gdevepsn.$(OBJ): gdevepsn.c $(PDEVH)
  473.  
  474. ### ----------------- The IBM Proprinter printer device ---------------- ###
  475.  
  476. ibmpro.dev: $(epson_)
  477.     $(SHP)gssetdev ibmpro $(epson_)
  478.  
  479. ### -------------- The Epson LQ-2550 color printer device -------------- ###
  480. ### Note: this driver was contributed by users: please contact           ###
  481. ###       Dave St. Clair (dave@exlog.com) if you have questions.         ###
  482.  
  483. epsonc_=gdevepsc.$(OBJ) gdevprn.$(OBJ)
  484. epsonc.dev: $(epsonc_)
  485.     $(SHP)gssetdev epsonc $(epsonc_)
  486.  
  487. gdevepsc.$(OBJ): gdevepsc.c $(PDEVH)
  488.  
  489. ### -------------- The Epson ESC/P 2 language printer device ----------- ###
  490. ### Note: this driver was contributed by a user: if you have questions,  ###
  491. ###       please contact Richard Brown (rab@tauon.ph.unimelb.edu.au).    ###
  492.  
  493. escp2_=gdevescp2.$(OBJ) gdevprn.$(OBJ)
  494. escp2.dev: $(escp2_)
  495.     $(SHP)gssetdev escp2 $(escp2_)
  496.  
  497. gdevescp2.$(OBJ): gdevescp2.c $(PDEVH)
  498.  
  499. ### ------------ The H-P PaintJet color printer device ----------------- ###
  500. ### Note: this driver also supports the DEC LJ250 color printer, which   ###
  501. ###       has a PaintJet-compatible mode, and the PaintJet XL.           ###
  502. ### If you have questions about the XL, please contact Rob Reiss         ###
  503. ###       (rob@moray.berkeley.edu).                                      ###
  504.  
  505. PJET=gdevpjet.$(OBJ) $(HPPCL)
  506.  
  507. gdevpjet.$(OBJ): gdevpjet.c $(PDEVH) $(gdevpcl_h)
  508.  
  509. lj250.dev: $(PJET)
  510.     $(SHP)gssetdev lj250 $(PJET)
  511.  
  512. paintjet.dev: $(PJET)
  513.     $(SHP)gssetdev paintjet $(PJET)
  514.  
  515. pjetxl.dev: $(PJET)
  516.     $(SHP)gssetdev pjetxl $(PJET)
  517.  
  518. ### ------- The IBM 3852 JetPrinter color inkjet printer device -------- ###
  519. ### Note: this driver was contributed by users: please contact           ###
  520. ###       Kevin Gift (kgift@draper.com) if you have questions.           ###
  521. ### Note that the paper size that can be addressed by the graphics mode  ###
  522. ###   used in this driver is fixed at 7-1/2 inches wide (the printable   ###
  523. ###   width of the jetprinter itself.)                                   ###
  524.  
  525. jetp3852_=gdev3852.$(OBJ) gdevprn.$(OBJ)
  526. jetp3852.dev: $(jetp3852_)
  527.     $(SHP)gssetdev jetp3852 $(jetp3852_)
  528.  
  529. gdevjetp.$(OBJ): gdevjetp.c $(PDEVH) $(gdevpcl_h)
  530.  
  531. ### ----------------- The Canon LBP-8II printer device ----------------- ###
  532. ### Note: this driver was contributed by users: please contact           ###
  533. ###       Tom Quinn (trq@prg.oxford.ac.uk) if you have questions.        ###
  534. ### Note that the standard paper size for this driver is the European    ###
  535. ###   A4 size, not the American 8.5" x 11" size.                         ###
  536.  
  537. lbp8_=gdevlbp8.$(OBJ) gdevprn.$(OBJ)
  538. lbp8.dev: $(lbp8_)
  539.     $(SHP)gssetdev lbp8 $(lbp8_)
  540.  
  541. gdevlbp8.$(OBJ): gdevlbp8.c $(PDEVH)
  542.  
  543. ### -------------- The DEC LN03/LA50/LA75 printer devices -------------- ###
  544. ### Note: this driver was contributed by users: please contact           ###
  545. ###       Ulrich Mueller (ulm@vsnhd1.cern.ch) if you have questions.     ###
  546. ### For questions about LA50 and LA75: please contact                    ###
  547. ###       Ian MacPhedran (macphed@dvinci.USask.CA).                     ###
  548. ### For the LN03, you can make A4 paper the default: see below.          ###
  549.  
  550. ln03_=gdevln03.$(OBJ) gdevprn.$(OBJ)
  551. ln03.dev: $(ln03_)
  552.     $(SHP)gssetdev ln03 $(ln03_)
  553.  
  554. la50.dev: $(ln03_)
  555.     $(SHP)gssetdev la50 $(ln03_)
  556.  
  557. la75.dev: $(ln03_)
  558.     $(SHP)gssetdev la75 $(ln03_)
  559.  
  560. # To make A4 paper the default, change the second line below this to
  561. #    $(CCC) -DA4 gdevln03.c
  562. gdevln03.$(OBJ): gdevln03.c $(PDEVH)
  563.     $(CCC) gdevln03.c
  564.  
  565. ### -------------- The C.Itoh M8510 printer device --------------------- ###
  566. ### Note: this driver was contributed by a user: please contact Bob      ###
  567. ###       Smith <bob@snuffy.penfield.ny.us> if you have questions.       ###
  568.  
  569. m8510_=gdev8510.$(OBJ) gdevprn.$(OBJ)
  570. m8510.dev: $(m8510_)
  571.     $(SHP)gssetdev m8510 $(m8510_)
  572.  
  573. gdev8510.$(OBJ): gdev8510.c $(PDEVH)
  574.  
  575. ### --------------------- The NEC P6 family devices -------------------- ###
  576.  
  577. necp6_=gdevnp6.$(OBJ) gdevprn.$(OBJ)
  578. necp6.dev: $(necp6_)
  579.     $(SHP)gssetdev necp6 $(necp6_)
  580.  
  581. gdevnp6.$(OBJ): gdevnp6.c $(PDEVH)
  582.  
  583. ### ----------------- The Okidata MicroLine 182 device ----------------- ###
  584. ### Note: this driver was contributed by a user: please contact          ###
  585. ###       Maarten Koning (smeg@bnr.ca) if you have questions.            ###
  586.  
  587. oki182_=gdevo182.$(OBJ) gdevprn.$(OBJ)
  588. oki182.dev: $(oki182_)
  589.     $(SHP)gssetdev oki182 $(oki182_)
  590.  
  591. gdevo182.$(OBJ): gdevo182.c $(PDEVH)
  592.  
  593. ### ------------- The Ricoh 4081 laser printer device ------------------ ###
  594. ### Note: this driver was contributed by users:                          ###
  595. ###       please contact kdw@oasis.icl.co.uk if you have questions.      ###
  596.  
  597. r4081_=gdev4081.$(OBJ) gdevprn.$(OBJ)
  598. r4081.dev: $(r4081_)
  599.     $(SHP)gssetdev r4081 $(r4081_)
  600.  
  601. gdev4081.$(OBJ): gdev4081.c $(PDEVH)
  602.  
  603. ###### ------------------------ Sony devices ------------------------ ######
  604. ### Note: these drivers were contributed by users: please contact        ###
  605. ###       Mike Smolenski (mike@intertech.com) if you have questions.     ###
  606.  
  607. ### ------------------- Sony NeWS frame buffer device ------------------ ###
  608.  
  609. sonyfb_=gdevsnfb.$(OBJ) gdevprn.$(OBJ)
  610. sonyfb.dev: $(sonyfb_)
  611.     $(SHP)gssetdev sonyfb $(sonyfb_)
  612.  
  613. gdevsnfb.$(OBJ): gdevsnfb.c $(PDEVH)
  614.  
  615. ### -------------------- Sony NWP533 printer device -------------------- ###
  616. ### Note: this driver was contributed by a user: please contact Tero     ###
  617. ###       Kivinen (kivinen@joker.cs.hut.fi) if you have questions.       ###
  618.  
  619. nwp533_=gdevn533.$(OBJ) gdevprn.$(OBJ)
  620. nwp533.dev: $(nwp533_)
  621.     $(SHP)gssetdev nwp533 $(nwp533_)
  622.  
  623. gdevn533.$(OBJ): gdevn533.c $(PDEVH)
  624.  
  625. ### ------------------------- The SPARCprinter ------------------------- ###
  626. ### Note: this driver was contributed by users: please contact Martin    ###
  627. ###       Schulte (schulte@thp.uni-koeln.de) if you have questions.      ###
  628. ###       He would also like to hear from anyone using the driver.       ###
  629. ### Please consult the source code for additional documentation.         ###
  630.  
  631. sparc_=gdevsppr.$(OBJ) gdevprn.$(OBJ)
  632. sparc.dev: $(sparc_)
  633.     $(SHP)gssetdev sparc $(sparc_)
  634.  
  635. gdevsppr.$(OBJ): gdevsppr.c $(PDEVH)
  636.  
  637. ###### --------------------- The SunView device --------------------- ######
  638. ### Note: this driver is maintained by a user: if you have questions,    ###
  639. ###       please contact Andreas Stolcke (stolcke@icsi.berkeley.edu).    ###
  640.  
  641. sunview_=gdevsun.$(OBJ)
  642. sunview.dev: $(sunview_)
  643.     $(SHP)gssetdev sunview $(sunview_)
  644.     $(SHP)gsaddmod sunview -lib suntool sunwindow pixrect
  645.  
  646. gdevsun.$(OBJ): gdevsun.c $(GDEV) $(arch_h)
  647.  
  648. ### ----------------- Tektronix 4396d color printer -------------------- ###
  649. ### Note: this driver was contributed by a user: please contact          ###
  650. ###       Karl Hakimian (hakimian@haney.eecs.wsu.edu)                    ###
  651. ###       if you have questions.                                         ###
  652.  
  653. t4693d_=gdev4693.$(OBJ) gdevprn.$(OBJ)
  654. t4693d2.dev: $(t4693d_)
  655.     $(SHP)gssetdev t4693d2 $(t4693d_)
  656.  
  657. t4693d4.dev: $(t4693d_)
  658.     $(SHP)gssetdev t4693d4 $(t4693d_)
  659.  
  660. t4693d8.dev: $(t4693d_)
  661.     $(SHP)gssetdev t4693d8 $(t4693d_)
  662.  
  663. gdev4693.$(OBJ): gdev4693.c $(GDEV)
  664.  
  665. ### -------------------- Tektronix ink-jet printers -------------------- ###
  666. ### Note: this driver was contributed by a user: please contact          ###
  667. ###       Karsten Spang (spang@nbivax.nbi.dk) if you have questions.     ###
  668.  
  669. tek4696_=gdevtknk.$(OBJ) gdevprn.$(OBJ)
  670. tek4696.dev: $(tek4696_)
  671.     $(SHP)gssetdev tek4696 $(tek4696_)
  672.  
  673. gdevtknk.$(OBJ): gdevtknk.c $(PDEVH)
  674.  
  675. ### ----------------- The TruFax facsimile device ---------------------- ###
  676. ### Note: this driver was contributed by users: please contact           ###
  677. ###       Neil Ostroff (nao@maestro.bellcore.com) if you have questions. ###
  678. ### Note that the driver requires a file encode_l.o supplied by the      ###
  679. ###   makers of the TruFax product.                                      ###
  680.  
  681. trufax_=gdevtrfx.$(OBJ) gdevprn.$(OBJ) encode_l.$(OBJ)
  682. trufax.dev: $(trufax_)
  683.     $(SHP)gssetdev trufax $(trufax_)
  684.  
  685. gdevtrfx.$(OBJ): gdevtrfx.c $(GDEV)
  686.  
  687. ###### ----------------------- The X11 device ----------------------- ######
  688.  
  689. # Aladdin Enterprises does not support Ghostview.  For more information
  690. # about Ghostview, please contact Tim Theisen (ghostview@cs.wisc.edu).
  691.  
  692. # NOTE: Xmu and Xext are here to keep Sun's dynamic linker happy.  No
  693. #       routines are used from either of these two libraries.  If you
  694. #       do not have libXmu.a or libXext.a, simply remove these two lines
  695. #       from the Makefile.
  696. x11_=gdevx.$(OBJ) gdevxini.$(OBJ) gdevxxf.$(OBJ) gdevemap.$(OBJ)
  697. x11.dev: $(x11_)
  698.     $(SHP)gssetdev x11 $(x11_)
  699.     $(SHP)gsaddmod x11 -lib Xt Xmu X11 Xext
  700.  
  701. # See the main makefile for the definition of XINCLUDE.
  702. GDEVX=$(GDEV) x_.h gdevx.h $(MAKEFILE)
  703. gdevx.$(OBJ): gdevx.c $(GDEVX) $(gsprops_h) $(gsutil_h)
  704.     $(CCC) $(XINCLUDE) gdevx.c
  705.  
  706. gdevxini.$(OBJ): gdevxini.c $(GDEVX) $(ctype__h)
  707.     $(CCC) $(XINCLUDE) gdevxini.c
  708.  
  709. gdevxxf.$(OBJ): gdevxxf.c $(GDEVX) $(gsutil_h) $(gxxfont_h)
  710.     $(CCC) $(XINCLUDE) gdevxxf.c
  711.  
  712. ### ---------------------- The bit bucket device ----------------------- ###
  713.  
  714. bit_=gdevbit.$(OBJ) gdevprn.$(OBJ)
  715. bit.dev: $(bit_)
  716.     $(SHP)gssetdev bit $(bit_)
  717.  
  718. gdevbit.$(OBJ): gdevbit.c $(PDEVH)
  719.  
  720. ###### ----------------------- PC file formats ---------------------- ######
  721.  
  722. gdevpccm.$(OBJ): gdevpccm.c $(AK) \
  723.   $(gs_h) $(gsmatrix_h) $(gxdevice_h) $(gdevpccm_h)
  724.  
  725. ### ------------------------- .BMP file formats ------------------------- ###
  726.  
  727. bmp_=gdevbmp.$(OBJ) gdevpccm.$(OBJ) gdevprn.$(OBJ)
  728.  
  729. gdevbmp.$(OBJ): gdevbmp.c $(PDEVH) $(gdevpccm_h)
  730.  
  731. bmpmono.dev: $(bmp_)
  732.     $(SHP)gssetdev bmpmono $(bmp_)
  733.  
  734. bmp16.dev: $(bmp_)
  735.     $(SHP)gssetdev bmp16 $(bmp_)
  736.  
  737. bmp256.dev: $(bmp_)
  738.     $(SHP)gssetdev bmp256 $(bmp_)
  739.  
  740. bmp16m.dev: $(bmp_)
  741.     $(SHP)gssetdev bmp16m $(bmp_)
  742.  
  743. ### ------------------------- GIF file formats ------------------------- ###
  744.  
  745. GIF=gdevgif.$(OBJ) gdevpccm.$(OBJ) gdevprn.$(OBJ)
  746.  
  747. gdevgif.$(OBJ): gdevgif.c $(PDEVH) $(gdevpccm_h)
  748.  
  749. gifmono.dev: $(GIF)
  750.     $(SHP)gssetdev gifmono $(GIF)
  751.  
  752. gif8.dev: $(GIF)
  753.     $(SHP)gssetdev gif8 $(GIF)
  754.  
  755. ### ------------------------- PCX file formats ------------------------- ###
  756.  
  757. pcx_=gdevpcx.$(OBJ) gdevpccm.$(OBJ) gdevprn.$(OBJ)
  758.  
  759. gdevpcx.$(OBJ): gdevpcx.c $(PDEVH) $(gdevpccm_h)
  760.  
  761. pcxmono.dev: $(pcx_)
  762.     $(SHP)gssetdev pcxmono $(pcx_)
  763.  
  764. pcx16.dev: $(pcx_)
  765.     $(SHP)gssetdev pcx16 $(pcx_)
  766.  
  767. pcx256.dev: $(pcx_)
  768.     $(SHP)gssetdev pcx256 $(pcx_)
  769.  
  770. ###### ------------------- Portable Bitmap devices ------------------ ######
  771. ### For more information, see the pbm(5), pgm(5), and ppm(5) man pages.  ###
  772.  
  773. pxm_=gdevpbm.$(OBJ) gdevprn.$(OBJ)
  774.  
  775. gdevpbm.$(OBJ): gdevpbm.c $(PDEVH) $(gxlum_h)
  776.  
  777. ### Portable Bitmap (PBM, plain or raw format, magic numbers "P1" or "P4")
  778.  
  779. pbm.dev: $(pxm_)
  780.     $(SHP)gssetdev pbm $(pxm_)
  781.  
  782. pbmraw.dev: $(pxm_)
  783.     $(SHP)gssetdev pbmraw $(pxm_)
  784.  
  785. ### Portable Graymap (PGM, plain or raw format, magic numbers "P2" or "P5")
  786.  
  787. pgm.dev: $(pxm_)
  788.     $(SHP)gssetdev pgm $(pxm_)
  789.  
  790. pgmraw.dev: $(pxm_)
  791.     $(SHP)gssetdev pgmraw $(pxm_)
  792.  
  793. ### Portable Pixmap (PPM, plain or raw format, magic numbers "P3" or "P6")
  794.  
  795. ppm.dev: $(pxm_)
  796.     $(SHP)gssetdev ppm $(pxm_)
  797.  
  798. ppmraw.dev: $(pxm_)
  799.     $(SHP)gssetdev ppmraw $(pxm_)
  800.  
  801. ### -------------------------- TIFF/F device ---------------------------- ###
  802. ###    This driver outputs images in a TIFF format               ###
  803. ###    Use -sDEVICE=tiffg3 and                          ###
  804. ###      -r204x98 for low resolution output, or              ###
  805. ###      -r204x196 for high resolution output                  ###
  806. ###    Note also that 3 page sizes are understood: letter, A4, and B4      ###
  807. ### Note: this driver was contributed by a user: please contact           ###
  808. ###       Sam Leffler (sam@sgi.com) if you have questions.              ###
  809.  
  810. tiffg3_=gdevtiff.$(OBJ) gdevprn.$(OBJ)
  811. tiffg3.dev: $(tiffg3_)
  812.     $(SHP)gssetdev tiffg3 $(tiffg3_)
  813. gdevtiff.$(OBJ): gdevtiff.c $(GDEV) $(gdevprn_h) gdevdfg3.h gdevtiff.h
  814.